package com.billiards.dao;

import com.billiards.entity.BallAppt;
import com.billiards.entity.Leaves;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface LeavesMapper {
    @Select("select * from leaves")
    public List<Leaves> getLeavesList();


    @Insert(" insert into leaves(id, judge,`leave`)values (null,#{judge},#{leave})")
    public int addLeaves(Leaves leaves);





}




